---
title: "Ask Sage"
slug: ../asksage
---

<Tip>
  **Discover Ask Sage models [here](https://hub.continue.dev/hub?q=Ask%20Sage)**
</Tip>

<Info>
  You can get an API key from the [Ask Sage](https://www.asksage.ai/).
</Info>


## Overview

Ask Sage provides secure, government-compliant access to LLMs. This guide explains how to set up and configure Ask Sage models, including support for DoD certificates.

## 1. Prerequisites

- **Ask Sage Account:**  
  Sign up or log in at [Ask Sage Platform](https://chat.asksage.ai/).

- **API Key:**  
  Follow the [API Key Documentation](https://docs.asksage.ai/docs/api-documentation/api-documentation.html) to generate your key.


## 2. Configuration

Add your Ask Sage model to your Continue configuration file.


<Tabs>
  <Tab title="YAML">
  ```yaml title="config.yaml"
  name: My Config
  version: 0.0.1
  schema: v1

  models:
    - name: GPT-4 gov
      provider: askSage
      model: gpt4-gov
      apiBase: https://api.asksage.ai/server/
      apiKey: <YOUR_ASK_SAGE_API_KEY>
  ```
  </Tab>
  <Tab title="JSON">
  ```json title="config.json"
  {
    "models": [
      {
        "title": "GPT-4 gov",
        "provider": "askSage",
        "model": "gpt4-gov",
        "apiBase": "https://api.asksage.ai/server/",
        "apiKey": "<YOUR_ASK_SAGE_API_KEY>"
      }
    ]
  }
  ```
  </Tab>
</Tabs>

## 3. Using DoD Certificates

For secure environments, specify your DoD CA bundle path:


<Tabs>
  <Tab title="YAML">
  ```yaml title="config.yaml"
  name: My Config
  version: 0.0.1
  schema: v1

  models:
    - name: GPT-4 gov
      provider: askSage
      model: gpt4-gov
      apiBase: https://api.asksage.ai/server/
      apiKey: <YOUR_ASK_SAGE_API_KEY>
      requestOptions:
        caBundlePath: /path/to/dod/certificates
  ```
  </Tab>
  <Tab title="JSON">
  ```json title="config.json"
  {
    "models": [
      {
        "title": "GPT-4 gov",
        "provider": "askSage",
        "model": "gpt4-gov",
        "apiBase": "https://api.asksage.ai/server/",
        "apiKey": "<YOUR_ASK_SAGE_API_KEY>",
        "requestOptions": {
          "caBundlePath": "/path/to/dod/certificates"
        }
      }
    ]
  }
  ```
  </Tab>
</Tabs>

Replace `/path/to/dod/certificates` with your actual CA bundle file path.

---

## 4. Final Steps

- Save your configuration file.
- Restart Continue to apply changes.

Your Ask Sage model will now be available in Continue.

## 5. Usage

Supported features:

- **Chat:** Interact and iterate on code in the sidebar.
- **Edit:** Modify code in place.

## 6. Support

- Refer to [Ask Sage Docs](https://docs.asksage.ai/docs/api-documentation/api-documentation.html) for more details.
- Email the Ask Sage support team for assistance at support@asksage.ai.

---
